package com.example.demo.domain;

/**
 * 文章图片
 *
 */
public class ArticleImage {
	/** 图片ID **/
	private Long pid;
	/** 文章ID **/
	private Long aid;
	/** 图片名字，原文件名+时间戳 **/
	private String name;

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public Long getAid() {
		return aid;
	}

	public void setAid(Long aid) {
		this.aid = aid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "ArticleImage [pid=" + pid + ", aid=" + aid + ", name=" + name + "]";
	}

}
